﻿#pragma once
#include "afxdialogex.h"


// HwPs_Regist 对话框

class HwPs_Regist : public CDialogEx
{
	DECLARE_DYNAMIC(HwPs_Regist)

public:
	//HwPs_Regist(CWnd* pParent = nullptr);   // 标准构造函数
	//virtual ~HwPs_Regist();
	HwPs_Regist(CWnd* pParent = nullptr);  // 标准构造函数
	virtual ~HwPs_Regist();
	

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_HwPs_Regist };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
private:
	CString m_CompareAxis, m_OUT, m_StartState, m_Dir, m_TimeCye, m_TimeHave, m_DoNum,m_startPoint, m_endPoint;
	CListCtrl m_CompareList;
	CListCtrl m_LatchedList;
	bool CompareFlag = false;
	bool LatchedFlag = false;
	int select ;
	CString enocderAxis;
	
public:
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedAdd();
	afx_msg void OnBnClickedOpen();
	afx_msg LRESULT OnUpdateListCtrl(WPARAM wParam, LPARAM lParam);
	afx_msg void OnBnClickedOpencompare();
	afx_msg void OnBnClickedStarthwps();
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	afx_msg void OnBnClickedDelect();
};
